package com.tom.architect.day20.simple2;

/**
 * Added by Tom on 2023/12/27.
 */
public class LeftCommand implements Command{
    private TetrisMachine machine;
    public LeftCommand(TetrisMachine machine) {
        this.machine = machine;
    }

    @Override
    public void execute() {
        machine.toLeft();
    }
}
